package com.ruoyi.bussiness.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 清单关联资源对象 sys_list_related_resource
 * 
 * @author ruoyi
 * @date 2024-06-09
 */
public class SysListRelatedResource extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关联主键 */
    private Long relatedId;

    /** 资源主键ID */
    @Excel(name = "资源主键ID")
    private Long resourceId;

    /** 清单主键 */
    @Excel(name = "清单主键")
    private Long checkListId;

    /** 资源类型：image-图片，video-影音，model-模型 */
    @Excel(name = "资源类型：image-图片，video-影音，model-模型")
    private String resourceType;

    private List<Long> excludeIds;

    private String resourceName;

    private String resourceUrl;

    private String resourceCover;

    public void setRelatedId(Long relatedId) 
    {
        this.relatedId = relatedId;
    }

    public Long getRelatedId() 
    {
        return relatedId;
    }
    public void setResourceId(Long resourceId) 
    {
        this.resourceId = resourceId;
    }

    public Long getResourceId() 
    {
        return resourceId;
    }
    public void setCheckListId(Long checkListId) 
    {
        this.checkListId = checkListId;
    }

    public Long getCheckListId() 
    {
        return checkListId;
    }
    public void setResourceType(String resourceType) 
    {
        this.resourceType = resourceType;
    }

    public String getResourceType() 
    {
        return resourceType;
    }

    public List<Long> getExcludeIds() {
        return excludeIds;
    }

    public void setExcludeIds(List<Long> excludeIds) {
        this.excludeIds = excludeIds;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public String getResourceUrl() {
        return resourceUrl;
    }

    public void setResourceUrl(String resourceUrl) {
        this.resourceUrl = resourceUrl;
    }

    public String getResourceCover() {
        return resourceCover;
    }

    public void setResourceCover(String resourceCover) {
        this.resourceCover = resourceCover;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("relatedId", getRelatedId())
            .append("resourceId", getResourceId())
            .append("checkListId", getCheckListId())
            .append("resourceType", getResourceType())
            .toString();
    }
}
